package com.maiji.cloud.entities.login;

import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @Description: app版本信息
 * @author zhanglr  
 * @date 2019年12月4日上午9:33:03
 */
@NoArgsConstructor
@Data
@Accessors(chain = true)
@Table(name = "app_version_info")
@TableName("app_version_info")
public class AppVersionInfoEntity {
	@TableId
	@Column(name = "uu_id", type = MySqlTypeConstant.VARCHAR, length = 50, isKey = true)
	private String uuId; // 主键
	
	@Column(name = "version_code", type = MySqlTypeConstant.VARCHAR, length = 50)
	private String versionCode; // 版本号
	
	@Column(name = "version_name", type = MySqlTypeConstant.VARCHAR, length = 50)
	private String versionName; // 版本号
	
	@Column(name = "url", type = MySqlTypeConstant.VARCHAR, length = 255)
	private String url; // 地址
	
	@Column(name = "description", type = MySqlTypeConstant.VARCHAR, length = 255)
	private String description; // 版本描述	
	
	@Column(name = "is_force", type = MySqlTypeConstant.INT, length = 2,defaultValue = "0")
	private Integer isForce; // 0:不强制，1：强制更新
	
	@Column(name = "type", type = MySqlTypeConstant.INT, length = 2)
	private Integer type; // 1:android,2:ios
	
	@Column(name = "in_time", type = MySqlTypeConstant.DATETIME)
    private Date inTime;  

}
